#ifndef CONFIG_H
#define CONFIG_H

//页面数据
#define GAME_WIDTH 900
#define GAME_HEIGHT 574
#define GAME_TITLE "小勺小游戏——终极版"
#define GAME_RES_PATH "./res.rcc"
#define GAME_RATE 10

//地图数据
#define MAP_PATH ":/resource/background"
#define MAP_SCROLL_SPEED 2

//豌豆数据
#define HERO_PATH ":/resource/me"

//子弹数据
#define BULLET_PATH ":/resource/bullet"
#define BULLET_SPEED 5

#define BULLET_NUM 30
#define BULLET_INTERVAL 60

//敌机1数据
#define ENEMY1_PATH ":/resource/enemy1"
#define ENEMY1_SPEED 3
#define ENEMY1_NUM 20
#define ENEMY1_INTERVAL 90

//敌机2数据
#define ENEMY2_PATH ":/resource/enemy2"
#define ENEMY2_SPEED 3
#define ENEMY2_NUM 20
#define ENEMY2_INTERVAL 150

//敌机3数据
#define ENEMY3_PATH ":/resource/enemy3"
#define ENEMY3_SPEED 3
#define ENEMY4_SPEED 10
#define ENEMY3_NUM 20
#define ENEMY3_INTERVAL 200

//爆炸资源
#define BOMB_PATH ":/resource/splash%1"
#define BOMB_NUM 20
#define BOMB_MAX 4
#define BOMB_INTERVAL 4

//杨桃资源
#define REWARD_PATH ":/resource/reward"
#define REWARD_SPEED 5
#define REWARD_INTERVAL 1500
#define REWARD_NUM 1

//音效数据
#define SOUND_BACKGROUND ":/resource/PVZ.wav"
#define SOUND_BOMB ":/resource/splat.wav"
#define SOUND_DIE ":/resource/die.wav"
#define SOUND_DSM ":/resource/DSM.wav"
#define SOUND_BULLET ":/resource/bullet.wav"
#define SOUND_ENEMY2 ":/resource/enemy2.wav"
#define SOUND_ENEMY3 ":/resource/enemy3.wav"

#endif // CONFIG_H
